package com.spzx.user.service;

import jakarta.servlet.ServletException;

import java.util.HashMap;

public interface ISmsService {

    /**
     * 发送验证码
     * @param phone 手机号
     * @param s 短信正文id
     * @param hashMap 验证码
     */
    void sendCode(String phone, String s, HashMap<String, Object> hashMap) throws ServletException;
}
